all:  highlight-pmstk.pdf

TEXFILES= highlight-pmstk.tex 
BIBFILES = pmstk.bib 

highlight-pmstk.pdf: $(BIBFILES) $(TEXFILES)
	pdflatex highlight-pmstk
	bibtex highlight-pmstk 
	pdflatex highlight-pmstk
	pdflatex highlight-pmstk

highlight-pmstk.ps: $(BIBFILES) $(TEXFILES)
	latex  highlight-pmstk.tex 
	bibtex highlight-pmstk
	latex  highlight-pmstk.tex 
	latex  highlight-pmstk.tex 
	dvips -Ppdf -t letter -G0 highlight-pmstk.dvi -o
	ps2pdf -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.3 -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -dColorImageFilter=/FlateEncode -dGrayImageFilter=/FlateEncode -dMonoImageFilter=/FlateEncode -dDownsampleColorImages=false -dDownsampleGrayImages=false highlight-pmstk.ps highlight-pmstk.pdf

highlight-pmstk.rtf: $(BIBFILES) $(TEXFILES)
	latex2rtf highlight-pmstk
#	bibtex highlight-pmstk 
	latex2rtf highlight-pmstk
	latex2rtf highlight-pmstk

clean:	
	rm -f *.aux *.log *.dvi *.bbl *.blg *~ *.out
